DATE_FORMAT = "%Y-%m-%d"  # ->              日期格式
TIME_FORMAT = "%H:%M:%S"  # ->              时间格式
DATETIME_FORMAT = "%Y-%m-%d %H:%M:%S"  # -> 日期时间格式

DATETIME_INPUT_FORMATS = [
    "%Y-%m-%d %H:%M:%S",  # "2006-10-25 14:30:59"
    "%Y-%m-%d %H:%M:%S.%f",  # "2006-10-25 14:30:59.000200"
    "%Y-%m-%d %H:%M",  # "2006-10-25 14:30"
    "%Y-%m-%d",  # "2006-10-25"
    "%m/%d/%Y %H:%M:%S",  # "10/25/2006 14:30:59"
    "%m/%d/%Y %H:%M:%S.%f",  # "10/25/2006 14:30:59.000200"
    "%m/%d/%Y %H:%M",  # "10/25/2006 14:30"
    "%m/%d/%Y",  # "10/25/2006"
    "%m/%d/%y %H:%M:%S",  # "10/25/06 14:30:59"
    "%m/%d/%y %H:%M:%S.%f",  # "10/25/06 14:30:59.000200"
    "%m/%d/%y %H:%M",  # "10/25/06 14:30"
    "%m/%d/%y",  # "10/25/06"
]

DATE_INPUT_FORMATS = [
    "%Y-%m-%d",  # "2006-10-25"
    "%m/%d/%Y",  # "10/25/2006"
    "%m/%d/%y",  # "10/25/06"
]

TIME_INPUT_FORMATS = [
    "%H:%M:%S",  # "14:30:59"
    "%H:%M:%S.%f",  # "14:30:59.000200"
    "%H:%M",  # "14:30"
]

ISO_8601 = "iso-8601"
NON_FIELD_ERRORS_KEY = "non_field_errors"
